<script setup>
defineProps({
    control: Object,
    model: Object,
})
</script>

<template>
    <van-field
        :name="control.id"
        v-model="model[control.id]"
        :label="control.props.label"
        type="text"
    />
</template>
